import axios from '@/utils/request';

export function getSchoolSaleCommissionList(params) {
    return axios.post({
        url: '/school-sale-commission/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function getSchoolSaleCommissionListAll(params) {
    return axios.post({
        url: '/school-sale-commission/listAll',
        data: params
    }).then((res) => {
        return res
    })
}

export function editSchoolSaleCommission(params) {
    return axios.post({
        url: '/school-sale-commission/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteSchoolSaleCommission(params) {
    return axios.post({
        url: '/school-sale-commission/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadSchoolSaleCommission(params) {
    return axios.post({
        url: '/school-sale-commission/load',
        data: params
    }).then((res) => {
        return res
    })
}

